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
|
Number of characters that can be stored. |
|---|
| charCount | The number of stored characters. | |
|---|---|---|
| drawCharCount | The number of characters for which to generate rendering commands. | |
| generatedCommand | Commands were generated. | |
| drawFlags | An array of flags. | |
| commandBuffer | A command buffer. | |
| commandBufferSize | The command buffer size that is in use. | |
| commandBufferCapacity | The command buffer capacity. | |
| textColorCommandOffset | 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