nn::font::CTR::DispStringBuffer Structurestruct DispStringBuffer
{
u16 charCount;
u16 drawCharCount;
u8 generatedCommand;
u8 * drawFlags;
u32 * commandBuffer;
u32 commandBufferSize;
u32 commandBufferCapacity;
u32 textColorCommandOffset;
};
A class that manages a buffer for displaying strings.
charCountMax
|
const u32 | Number of characters that can be stored. |
|---|
| charCount | u16 | The number of stored characters. | |
|---|---|---|---|
| drawCharCount | u16 | The number of characters for which to generate rendering commands. | |
| generatedCommand | u8 | Commands were generated. | |
| drawFlags | u8 * | An array of flags. | |
| commandBuffer | u32 * | A command buffer. | |
| commandBufferSize | u32 | The command buffer size that is in use. | |
| commandBufferCapacity | u32 | The command buffer capacity. | |
| textColorCommandOffset | u32 | Offset to the text color command. |
GetCharAttrs
|
Vertex attribute array. | |
|---|---|---|
DispStringBuffer
|
Constructor. | |
ClearCommand
|
Clears a command. | |
IsGeneratedCommand
|
Determines whether a command has already been generated. | |
IsCommandEmpty
|
Determines whether a command is empty. | |
GetDrawCharCount
|
Gets the number of characters for which to generate rendering commands. | |
SetDrawCharCount
|
Sets the number of characters for which to generate rendering commands. | |
ResetDrawCharCount
|
Resets the number of characters for which to generate rendering commands. |
CONFIDENTIAL